<template>
  <div class="home"></div>
</template>

<script>
  import {
    http
  } from "../../api/config";

  export default {
    name: 'home',
    data() {
      return {
        importTeacher: http.importTeacher,
        fileList: []
      }
    },
    methods: {},

    beforeRouteEnter(to, from, next) {
      //传给父组建值
      next(vm => {
        vm.$emit('pageName', to.name)
      })

    }
  }

</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
  h1,
  h2 {
    font-weight: normal;
  }

  ul {
    list-style-type: none;
    padding: 0;
  }

  li {
    display: inline-block;
    margin: 0 10px;
  }

  a {
    color: #42b983;
  }

</style>
